.class public Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;
.super Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;
.source "AnalysisAppListFrament.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter$c;


# instance fields
.field protected D:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

.field protected E:I

.field protected F:J

.field protected G:J

.field protected H:Ljava/util/concurrent/atomic/AtomicLong;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;-><init>()V

    return-void
.end method

.method private b(ZZ)V
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->D:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    check-cast v0, Les/yf;

    .line 4
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament$a;

    invoke-direct {v2, p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament$a;-><init>(Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;ZZLes/yf;)V

    invoke-static {v1, v0, v2, p2}, Lcom/estrongs/android/pop/app/analysis/c;->a(Landroid/content/Context;Les/yf;Lcom/estrongs/android/pop/app/analysis/c$d;Z)V

    return-void
.end method


# virtual methods
.method protected G()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->e:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

.method protected L()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->D:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 2
    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->b(ZZ)V

    :cond_0
    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->D:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    const/4 p1, 0x0

    .line 2
    invoke-direct {p0, p1, p1}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->b(ZZ)V

    return-void
.end method

.method protected b(J)V
    .locals 0

    return-void
.end method

.method public b(Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;)V
    .locals 1

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->D:Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    const/4 p1, 0x0

    const/4 v0, 0x1

    .line 2
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->b(ZZ)V

    return-void
.end method

.method protected l()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->g:Ljava/lang/String;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->j:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Les/tf;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->v:Les/tf;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->u:Ljava/util/List;

    return-void

    .line 3
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->j:Ljava/lang/String;

    invoke-static {v1, v0, v2}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Les/tf;Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    .line 4
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    if-eqz v0, :cond_3

    .line 5
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_1
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 6
    instance-of v3, v2, Les/y10;

    if-eqz v3, :cond_1

    .line 7
    move-object v3, v2

    check-cast v3, Les/y10;

    if-eqz v3, :cond_1

    .line 8
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v4

    invoke-virtual {v3}, Les/y10;->t()Ljava/lang/String;

    move-result-object v3

    invoke-static {v4, v3}, Lcom/estrongs/android/pop/app/analysis/c;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    goto :goto_0

    .line 9
    :cond_2
    new-instance v3, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    invoke-direct {v3}, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;-><init>()V

    const/4 v4, 0x0

    .line 10
    iput-boolean v4, v3, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->a:Z

    .line 11
    iput-object v2, v3, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    .line 12
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 13
    :cond_3
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 14
    :cond_4
    iput-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->u:Ljava/util/List;

    return-void
.end method

.method public onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->L()V

    return-void
.end method

.method protected v()V
    .locals 4

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->v()V

    .line 2
    new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->H:Ljava/util/concurrent/atomic/AtomicLong;

    .line 3
    new-instance v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    iget v2, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->k:I

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    invoke-direct {v0, v1, v2, v3}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter;-><init>(Landroid/content/Context;ILjava/lang/String;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->t:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->b:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->t:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-virtual {v0, p0}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->a(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$i;)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->t:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    check-cast v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter;

    invoke-virtual {v0, p0}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter;->a(Lcom/estrongs/android/pop/app/analysis/adapters/DetailAppListAdapter$c;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisFileListFrament;->t:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    .line 8
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->G()V

    return-void
.end method

.method protected y()V
    .locals 4

    .line 1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->h:Ljava/lang/String;

    const-string v2, "analysis_result_card_key"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->g:Ljava/lang/String;

    const-string v2, "analysis_result_card_path"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament;->r:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J

    move-result-wide v1

    const-string v3, "analysis_result_cleaned_size"

    invoke-virtual {v0, v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/fragments/AnalysisAppListFrament;->H:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicLong;->get()J

    move-result-wide v1

    const-string v3, "analysis_result_cleaned_memory_size"

    invoke-virtual {v0, v3, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 6
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    const/4 v2, -0x1

    invoke-virtual {v1, v2, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    return-void
.end method
